<script type="text/javascript" >
		function check_all()
		{
			var cIdx = 'id'; //manggil id chekbok	
			for (var i=0;i < document.table_form.elements.length;i++)
			{
				var e = document.table_form.elements[i];
				if ((e.id == 'id') && (e.type=='checkbox'))
				{
					e.checked = 'checked';
				}
			}
		}
		
		function uncheck_all()
		{
			var cIdx = 'id'; //manggil id chekbok	
			for (var i=0;i < document.table_form.elements.length;i++)
			{
				var e = document.table_form.elements[i];
				if ((e.id == 'id') && (e.type=='checkbox'))
				{
					e.checked = '';
				}
			}
		}
		
</script>

<section class="grid_12">
	<div class="block-border">
		<form class="block-content form" name="table_form" id="table_form" method="post" enctype="multipart/form-data" action="<?php echo base_url(); ?>index.php/program">
			<h1>Anggaran >  List</h1>
			<div class="block-controls">								<ul class="controls-buttons">					 					<li class="sep"></li>					<li></li>				</ul>							</div>			<div>						<?php print_r($error);?>			 			<input type="file" name="userfile" size="20" />			<br /><br />			<input type="submit" value="upload" />			<div class="no-margin">			<table class="table" cellspacing="0" width="100%">			<tbody>			<?					//echo "<table border='1'  class='table' cellspacing='0' width='100%'>";				for ($i = 1; $i <= $excel['numRows']; $i++) {					echo "<tr>";					for ($j = 1; $j <= $excel['numCols']; $j++) {						echo "<td>";						echo "".$excel['cells'][$i][$j]."";						echo "</td>";					}					echo "</tr>";				}							 			?>			</tbody>			</table>			</div>
			</div>
				
		</form>		
	</div>
</section>